from ultralytics import YOLO

model = YOLO('/home/sysadmin/jack/rockchip/ultralytics_yolov8/ptmodel/best.pt')
model = YOLO('yolo11n.pt')
#model = YOLO('/home/sysadmin/jack/yolo/YOLO-Pruning-RKNN/runs/detect/yolo11/weights/best.pt')
# model.export(format='rknn',name='rk3588', dynamic=False)
#model.export(format='onnx')
model.export(format='rknn')